/* pages/store/store.wxss */
.store {
  .bg {
    width: 100%;
    height: 752rpx;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
  }

  .top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    padding: 0 24rpx;
    overflow: hidden;
    .navbar_bg {
      position: absolute;
      z-index: 1;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 752rpx;
    }
    .navbar {
      position: relative;
      z-index: 2;
      height: 88rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
      .site {
        width: 240rpx;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        .icon {
          width: 23rpx;
          height: 28rpx;
          flex-shrink: 0;
        }
        text {
          margin-left: 8rpx;
          font-size: 28rpx;
        }
        .arrow {
          margin-left: 4rpx;
          flex-shrink: 0;
        }
      }
    }
  }

  .navbar_height {
    height: 88rpx;
  }

  .search_box {
    position: relative;
    z-index: 1;
    padding: 0 24rpx;
    .search {
      margin-top: 20rpx;
      display: flex;
      align-items: center;
      border-radius: 200rpx;
      background-color: #fff;
      padding: 8rpx 12rpx 8rpx 26rpx;
      image, .btn {
        flex-shrink: 0;
      }
      image {
        width: 31rpx;
        height: 32rpx;
      }
      input {
        width: 100%;
        height: 100%;
        margin: 0 20rpx;
        font-size: 28rpx;
        color: #333;
      }
      .btn {
        width: 120rpx;
        height: 64rpx;
        background-color: #0067B4;
        border-radius: 200rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28rpx;
        color: #fff;
      }
    }
  }

  .map {
    position: relative;
    z-index: 2;
    margin-top: 36rpx;
    width: 100%;
    height: 60vh;
    map {
      width: 100%;
      height: 100%;
    }
  }

  .store_list {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99;
    padding: 24rpx 40rpx 0;
    border-radius: 20rpx 20rpx 0 0;
    box-shadow: 0px 6px 12px  #CBCBCB;
    background-color: #fff;
    .drag {
      margin: auto;
      padding: 10rpx;
      width: 100rpx;
      .drag_line {
        width: 80rpx;
        height: 8rpx;
        border-radius: 20rpx;
        background-color: #eee;
      }
    }
    .scroll_view {
      width: 100%;
      .store_item {
        display: flex;
        align-items: center;
        padding: 36rpx 0;
        .image {
          width: 212rpx;
          height: 212rpx;
          flex-shrink: 0;
          border-radius: 10rpx;
          overflow: hidden;
          position: relative;
          image {
            width: 100%;
            height: 100%;
          }
          .status {
            position: absolute;
            right: 0;
            bottom: 0;
            padding: 10rpx;
            font-size: 20rpx;
            color: #fff;
            background-color: rgba(51, 51, 51, 0.6);
          }
        }
        .content {
          margin-left: 20rpx;
          width: calc(100% - 232rpx);
          .title {
            font-size: 32rpx;
            font-weight: bold;
            color: #333;
          }
          .address {
            margin-top: 10rpx;
            font-size: 24rpx;
            color: #999999;
          }
          .tags {
            margin-top: 16rpx;
            display: flex;
            flex-wrap: wrap;
            .tag {
              padding: 4rpx 10rpx;
              border-radius: 5rpx;
              background-color: #0B6BB5;
              color: #fff;
              margin-right: 14rpx;
            }
            .tag_plain {
              box-sizing: border-box;
              border: 1rpx solid #2772F3;
              color: #2772F3;
              background-color: #fff;
            }
          }
          .type {
            margin-top: 40rpx;
            font-size: 26rpx;
            color: #333333;
          }
        }
        .checked {
          margin-left: 10rpx;
          width: 48rpx;
          height: 48rpx;
          flex-shrink: 0;
        }
      }
    }
    .button {
      margin-top: 20rpx;
      border-radius: 200rpx;
      background-color: #0B6BB5;
      height: 96rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32rpx;
      font-weight: bold;
      color: #fff;
    }
    .place_height {
      height: calc(env(safe-area-inset-bottom) + 10rpx);
    }
  }
}